package com.company.project.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.company.project.entity.BaseEntity;


import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 *
 * @author wenbin
 * @email *****@mail.com
 * @date 2021-06-28 11:33:57
 */
@Data
@TableName("shop_order")
public class ShopOrderEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId("id")
	private int id;

	/**
	 * 
	 */
	@TableField("user_id")
	private Long userId;

	/**
	 * 
	 */
	@TableField("product_id")
	private Long productId;

	/**
	 * 
	 */
	@TableField("quantity")
	private Integer quantity;

	/**
	 * 
	 */
	@TableField("create_time")
	private Date createTime;

	/**
	 * 
	 */
	@TableField("address")
	private String address;


}
